import request from "@/utils/request";

export const getWarningList = (params) => {
  return request({
    url: "/eva/v1/warning/list",
    method: "get",
    params,
  });
};

export const deleteWarning = (data) => {
  return request({
    url: "/eva/v1/warning/delete",
    method: "post",
    data,
  });
};

export const exportWarning = (params) => {
  return request({
    url: "/eva/v1/warning/export",
    method: "get",
    params,
  });
};
